import { request } from '@/utils/request'
request()

import App from '@/App.vue'
import { createApp } from 'vue'
import { setup as setupPlugin } from '@/plugins'

const app = createApp(App)

import UButton from '@/components/u-button/index.vue'
import Umessage from '@/components/u-message/index.js'
app.component("u-button", UButton)
app.use(Umessage)

// 所有插件
setupPlugin(app)

app.mount('#app')
console.log(App)